class_name TempEntityData

# 来源的cur_entity
var source_entity:Node
# 来源本身：例如近战攻击就是cur_entity，远程子弹攻击是子弹的cur_entity
var source:Node
# value是绝对值
var value:float
var can_counter:bool = false
var is_crit:bool
var damage_multiplier:float = 1

func _init(source_entity:Node,source:Node,value:float,is_crit:bool = false,can_counter:bool = false,damage_multiplier:float = 1) -> void:
	self.source_entity = source_entity
	self.source = source
	self.value = value
	self.is_crit = is_crit
	self.can_counter = can_counter
	self.damage_multiplier = damage_multiplier
